package com.google.code.nexttraffic.dao;

import java.util.List;

import com.google.code.nexttraffic.web.model.Terminal;
import com.google.code.nexttraffic.web.model.Terminal_Temp;

public interface TerminalDao {

	/**
	 * 
	 * @param terminal
	 * @return
	 */
	public int insertTerminal(Terminal terminal);

	/**
	 * 
	 * @return
	 */
	public List<Terminal> getListTerminal();

	/**
	 * 
	 * @param temp
	 * @return
	 */
	public List<Terminal_Temp> search(Terminal_Temp temp);

	/**
	 * 
	 * @param terminalId
	 * @return
	 */
	public Terminal getTerminal(Integer terminalId);
	
	public Terminal getTerminalDetailInfo(String terminalName);
	
	public String getTimeTable(String terminalNumber);
}
